Piwik\Segment D

Total Complexity 130
Dependencies 18
Dependents 33
Total lines 585
Lines of code 363
Logical lines of code 250
Comment lines 136
Methods 25
Properties 9

Methods 25

Method Rating Maintainability Complexity Lines of code
getCleanedExpression()
B
35 22 74
mergeSubqueryExpressionsInExpr()
A
49 11 28
getSelectQuery()
A
50 11 26
__construct()
A
48 10 34
getStoredSegmentName()
A
55 11 17
containsCondition()
A
73 11 3
getSegmentHash()
S
51 5 26
getExpressionsWithUnionsResolved()
S
56 5 19
getAvailableSegments()
S
56 5 16
doesSegmentNeedSubquery()
S
62 6 10
isVisitSegment()
S
59 5 14
initializeSegment()
S
54 3 21
willBeArchived()
S
67 4 7
combine()
S
65 4 9
getSegmentByName()
S
63 3 10
getInvertedOperatorForSubQuery()
S
67 3 8
getHash()
S
72 2 6
isAvailable()
S
67 2 8
__toString()
S
80 1 3
getString()
S
82 1 3
isEmpty()
S
81 1 3
getOriginalString()
S
82 1 3
mergeSubqueryExpressionsInTree()
S
68 1 7
getSegmentExpression()
S
82 1 3
escapeSegmentValue()
S
71 1 5